package com.zch.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zch.dao.RzMapper;
import com.zch.dao.model.Rz;
import com.zch.dao.model.RzExample;

@Service
public class RzService {
	@Autowired
	private RzMapper rzMapper;

	public int countByExample(RzExample example) {
		return this.rzMapper.countByExample(example);
	}

	public Rz selectByPrimaryKey(String id) {
		return this.rzMapper.selectByPrimaryKey(id);
	}

	public List<Rz> selectByExample(RzExample example) {
		return this.rzMapper.selectByExample(example);
	}

	public int deleteByPrimaryKey(String id) {
		return this.rzMapper.deleteByPrimaryKey(id);
	}

	public int updateByPrimaryKeySelective(Rz record) {
		return this.rzMapper.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(Rz record) {
		return this.rzMapper.updateByPrimaryKey(record);
	}

	public int deleteByExample(RzExample example) {
		return this.rzMapper.deleteByExample(example);
	}

	public int updateByExampleSelective(Rz record, RzExample example) {
		return this.rzMapper.updateByExampleSelective(record, example);
	}

	public int updateByExample(Rz record, RzExample example) {
		return this.rzMapper.updateByExample(record, example);
	}

	public int insert(Rz record) {
		return this.rzMapper.insert(record);
	}

	public int insertSelective(Rz record) {
		return this.rzMapper.insertSelective(record);
	}

}
